---
title: Available Callbacks
description: A list of all the callbacks that are available in the Consent Manager.
---

## Available callbacks

### onBannerFetched

Called when the consent banner is fetched; not invoked when the banner is in offline mode.

<AutoTypeTable path="./packages/core/src/types/callbacks.ts" name="OnBannerFetchedPayload" />

### onConsentSet

Called when the consent is set.

<AutoTypeTable path="./packages/core/src/types/callbacks.ts" name="OnConsentSetPayload" />

### onError

Called when an error occurs.

<AutoTypeTable path="./packages/core/src/types/callbacks.ts" name="OnErrorPayload" />
